package com.mmall.service;

import com.mmall.common.ServiceResponse;
import com.mmall.pojo.Category;

import java.util.List;

public interface ICategoryService {
    ServiceResponse addCategory(String categoryName, Integer parentId);
    ServiceResponse setCategory(String name,Integer id);
    ServiceResponse<List<Category>> getChildrenParalleCategory(Integer categoryId);
    ServiceResponse selectCategoryAndChildRenById(Integer categoryId);

}
